import java.util.*;


public class QuizData {
	
	private Map<Integer, VocabCard> vocabMap;
	private int current;
	private CardDrawing cardDrawing;
//	private CardDrawing cardDrawing2;
	
	
	public QuizData() {
		vocabMap = new HashMap<Integer, VocabCard>();
		cardDrawing = new CycleRandom();
	}
	
	public int sizeVocab() {
		return(vocabMap.size());
	}

	public void drawNext() {
		current = cardDrawing.getNextVocabId(vocabMap.size());
	}
	
	public VocabCard getCurrentVocabCard() {
		return(vocabMap.get((Integer)current));
	}
	
}
